package xyz.lisys.event;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationListener;
import org.springframework.lang.NonNull;

@Slf4j
public class MyApplicationListener implements ApplicationListener<MyApplicationEvent> {

    @Override
    public void onApplicationEvent(@NonNull MyApplicationEvent event) {
        log.info("MyApplicationListener received event: {}", event);
    }
}
